<template>
  <div>
    <p>Container</p>
    <Child @enlargeText="onEnlargeText" />
  </div>
</template>
<script>
import { defineComponent } from 'vue';
import Child from "./Child.vue"

export default defineComponent({
  components: {
    Child
  },
  methods: {
    onEnlargeText() {
      console.log("enlarging text")
    }
  }
})//https://stackoverflow.com/questions/64605807/vuejs-3-emit-event-from-child-to-parent-component?rq=3
</script>
<style lang="">

</style>